package com.yenlien.traceyun.breed.dao;

import com.yenlien.traceyun.breed.entity.Prevent;
import com.yenlien.traceyun.webase.dao.BaseJpaDao;

import java.util.List;

/**
 * Created by LiuSha on 2020/9/24.
 */
public interface PreventDao extends BaseJpaDao<Prevent> {
    Prevent findById(String id);

    Prevent findByPreventBatch(String preventBatch);

    List<Prevent> findByBreedId(String id);

    List<Prevent> findByCode(String code);
}
